<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="../../common/taglibs.jsp"%>
<%@include file="../../common/_head.jsp"%>
<html>
<head>
    <title>推送消息列表</title>
</head>
<body pname="<%=basePath%>">
<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md12">
            <div class="layui-col-md12">
                <div class="layui-card">
                    <table class="layui-hide" id="data-table" lay-filter="data-table"></table>

                    <script type="text/html" id="data-table-toolbar">
                        <div class="layui">
                            <div class="layui-condition">
                                <label>搜索：</label>
                                <div class="layui-inline" style="width: 150px;">
                                    <input type="text" id="keyword" placeholder="用户id/昵称/手机号" autocomplete="off" class="layui-input">
                                </div>
                            </div>
                            <div class="layui-condition">
                                <button type="button" class="layui-btn" id="search" lay-event="search">
                                    <i class="layui-icon">&#xe615;</i>搜索
                                </button>
                            </div>

                            <div style="float: right">
                                <c:forEach items="${userPermissions}" var="permission">
                                    <c:if test="${permission eq '/push/add'}">
                                        <button class="layui-btn layui-btn-sm" lay-event="add">新增</button>
                                    </c:if>
                                </c:forEach>
                            </div>
                        </div>
                    </script>

                    <script type="text/html" id="msgTypeTpl">
                        {{# if(d.msgType == 0){ }}
                            公告消息
                        {{# }else{ }}
                            个人消息
                        {{# } }}
                    </script>
                </div>
            </div>
        </div>
    </div>
</div>

<script src="<%=path%>/js/materialmanage/push/list.js?v=1.1.2"></script>
</body>
</html>
